# $Id: PKGBUILD 151196 2012-02-25 07:22:50Z allan $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xerces2-java
pkgver=2.11.0
pkgrel=2
pkgdesc="High performance fully compliant Java XML parser"
arch=('any')
url="http://xml.apache.org/xerces2-j"
license=('APACHE')
depends=('java-runtime')
provides=("java-xerces2=${pkgver}")
conflicts=('java-xerces2')
replaces=('java-xerces2')
source=(http://mirror.checkdomain.de/apache//xerces/j/Xerces-J-bin.${pkgver}.tar.gz)
md5sums=('29d731e0ae57eb3f2e09af6594bc2515')

package() {
  cd ${srcdir}/xerces-${pkgver//./_}
  install -dm755 ${pkgdir}/usr/share/java
  rm xercesSamples.jar
  install -m644 *.jar ${pkgdir}/usr/share/java/
}
